package com.sikaryofficial.information.domain.mapping;

import com.sikaryofficial.information.domain.dto.req.ArticleExposureCountReq;
import com.sikaryofficial.information.domain.entity.ArticleExposureCount;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author : qinjinyuan
 * @desc : 活动映射接口
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface ArticleExposureCountMapping {
    ArticleExposureCountMapping INSTANCE = Mappers.getMapper(ArticleExposureCountMapping.class);

    /**
     * 实体映射
     *
     * @param req
     * @return
     */
    ArticleExposureCount coverToEntity(ArticleExposureCountReq req);
}
